<?php 
 session_start(); 
 foreach ($_SESSION as $key=>$val)
    echo "<br>".$key." = ".$val; //test
 ?> 